package com.hutao.manage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hutao.manage.pojo.MedicalResourceExamination;

public interface MedicalResourceExaminationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MedicalResourceExamination record);

    int insertSelective(MedicalResourceExamination record);

    MedicalResourceExamination selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MedicalResourceExamination record);

    int updateByPrimaryKey(MedicalResourceExamination record);
    
    List<MedicalResourceExamination> getMedicalExaminationPicByGuid(@Param("firstGuid") String firstGuid);

    int deleteByFirstGuid(@Param("firstGuid") String firstGuid);
    
    List<Map<String, Object>> getMreGroupIdByFirstGuid(String firstGuid);
    
    int deleteByGroupId(@Param("groupId") String groupId, @Param("firstGuid") String firstGuid);
    
    List<Map<String, Object>> getMreListByfirstGuidAndGroupId(@Param("groupId") String groupId, @Param("firstGuid") String firstGuid);
    

}